package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * @TableName t_user
 */
@TableName(value ="t_user")
@Data
public class User implements Serializable {
    /**
     *
     */
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;
    private String userName;
    private String phone;
    private String password;
    private Integer baindCarNum;
    private Integer orderNum;
    private Integer noPayOrderNum;
    private Integer status;
    private BigDecimal consumeSum;
    private BigDecimal noConsumeSum;
    private Date lastLoginTime;
    @TableLogic
    private String isDeleted;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    private String spare1;

    /**
     *
>>>>>>> 03c8133aa1cd44bfb8b58e0536f68b36098e3e83
     */
    private String spare2;

    /**
<<<<<<< HEAD
     *
=======
     *
>>>>>>> 03c8133aa1cd44bfb8b58e0536f68b36098e3e83
     */
    private String spare3;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
